package com.itheima.pojo;

import java.util.List;

public class PageBean {
    private List<User> rows;
    private Long totalCount;

    public PageBean() {
    }

    public PageBean(List<User> rows, Long totalCount) {
        this.rows = rows;
        this.totalCount = totalCount;
    }

    @Override
    public String toString() {
        return "PageBean{" +
                "rows=" + rows +
                ", totalCount=" + totalCount +
                '}';
    }

    public List<User> getRows() {
        return rows;
    }

    public void setRows(List<User> rows) {
        this.rows = rows;
    }

    public Long getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(Long totalCount) {
        this.totalCount = totalCount;
    }
}
